package org.xczy.core.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import jdk.nashorn.internal.ir.annotations.Reference;
import org.xczy.core.entity.UserRole;
import org.xczy.core.service.UserRoleService;
import org.xczy.core.mapper.UserRoleMapper;
import org.springframework.stereotype.Service;

/**
* @author Administrator
* @description 针对表【user_role(用户角色映射表)】的数据库操作Service实现
* @createDate 2023-05-07 13:34:26
*/
@Service
public class UserRoleServiceImpl extends ServiceImpl<UserRoleMapper, UserRole> implements UserRoleService{

  @Reference
  private UserRoleMapper userRoleMapper;

  @Override
  public int delete(LambdaQueryWrapper wrapper) {
    return userRoleMapper.delete(wrapper);
  }
}




